#include "aboutwidget.h"
#include "ui_aboutwidget.h"
#include <QDebug>

AboutWidget::AboutWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::AboutWidget)
{
    ui->setupUi(this);
    setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
    ui->label_mainPage->setOpenExternalLinks(true);
    ui->label_csdn->setOpenExternalLinks(true);
    ui->label_gitee->setOpenExternalLinks(true);
    ui->label_mainPage->setText("<a style='color: white;' href=\"http://www.gdou_lectronic.org\">http://www.gdou_lectronic.org");
    ui->label_csdn->setText("<a style='color: white;' href=\"https://blog.csdn.net/weixin_42887343\">https://blog.csdn.net/weixin_42887343");
    ui->label_gitee->setText("<a style='color: white;' href=\"https://gitee.com/jiangtao008\">https://gitee.com/jiangtao008");
}

AboutWidget::~AboutWidget()
{
    delete ui;
}

void AboutWidget::on_pushButton_close_clicked()
{
    this->close();
}
